package com.lyl.exception.common;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class ErrorResult extends Result{
    private String errorURL;
    private String errorName;
    private String errorMsg;

    public ErrorResult(){
        super(ResultCode.SERVER_ERROR.getCode(),ResultCode.SERVER_ERROR.getMsg(),EMPTY_LIST);
    }

    public ErrorResult(Integer code, String msg) {
        super(code, msg, EMPTY_LIST);
    }






}
